package com.tairanchina.md.meeting.constants;

import com.tairanchina.md.meeting.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class MeetingProvider {

    public static YearMeetingAwarderService awarderService;

    public static YearMeetingAwardGoodsService awardGoodsService;

    public static YearMeetingSunAwarderService sunAwarderService;

    public static YearMeetingSunGoodsService sunGoodsService;

    public static YearMeetingUserService userService;

    public static YearMeetingProgramService programService;

    public static YearMeetingTreeService treeService;


    public  YearMeetingTreeService getTreeService() {
        return treeService;
    }
    @Autowired
    public  void setTreeService(YearMeetingTreeService treeService) {
        MeetingProvider.treeService = treeService;
    }

    public  YearMeetingProgramService getProgramService() {
        return programService;
    }
    @Autowired
    public  void setProgramService(YearMeetingProgramService programService) {
        MeetingProvider.programService = programService;
    }

    public static YearMeetingAwarderService getAwarderService() {
        return awarderService;
    }

    @Autowired
    public  void setAwarderService(YearMeetingAwarderService awarderService) {
        MeetingProvider.awarderService = awarderService;
    }

    public  YearMeetingAwardGoodsService getAwardGoodsService() {
        return awardGoodsService;
    }
    @Autowired
    public  void setAwardGoodsService(YearMeetingAwardGoodsService awardGoodsService) {
        MeetingProvider.awardGoodsService = awardGoodsService;
    }

    public  YearMeetingSunAwarderService getSunAwarderService() {
        return sunAwarderService;
    }
    @Autowired
    public  void setSunAwarderService(YearMeetingSunAwarderService sunAwarderService) {
        MeetingProvider.sunAwarderService = sunAwarderService;
    }

    public  YearMeetingSunGoodsService getSunGoodsService() {
        return sunGoodsService;
    }
    @Autowired
    public  void setSunGoodsService(YearMeetingSunGoodsService sunGoodsService) {
        MeetingProvider.sunGoodsService = sunGoodsService;
    }

    public  YearMeetingUserService getUserService() {
        return userService;
    }
    @Autowired
    public  void setUserService(YearMeetingUserService userService) {
        MeetingProvider.userService = userService;
    }
}